﻿using ContactCenter.Core.DomainModel;
using FluentNHibernate.Mapping;

namespace ContactCenter.Persistence.NH.Mapping
{
    public class ContactInfoMap : ComponentMap<ContactInfo>
    {
        public ContactInfoMap()
        {
            Map(x => x.EMail);
            Map(x => x.HomePhoneNumber);
            Map(x => x.MobilePhoneNumber);
            Map(x => x.WorkPhoneNumber);
        }
    }
}